import {Component, Input, OnInit} from '@angular/core';

@Component({
  selector: 'app-photovoltaic-model',
  templateUrl: './photovoltaic-model.component.html',
  styleUrls: ['./photovoltaic-model.component.css']
})
export class PhotovoltaicModelComponent implements OnInit {
  /**
   * 光伏风场名称
   *
   * @type {string}@memberof PhotovoltaicModelComponent
   */
  @Input()
  farmName: string;
  /**
   * 光伏风场位置x轴百分比
   *
   * @type {number}@memberof PhotovoltaicModelComponent
   */
  @Input() farmX: number;
  /**
   * 光伏风场位置y轴百分比
   *
   * @type {number}@memberof PhotovoltaicModelComponent
   */
  @Input() farmY: number;
  @Input()
  active: number;
  /**
   * 当前风场下标
   *
   * @type {number}@memberof PhotovoltaicModelComponent
   */
  @Input()
  i: number;

  @Input()
  unShowName: boolean;

  constructor() {

  }

  ngOnInit() {
  }

}
